﻿using UnityEngine;
using System.Collections;

[ExecuteInEditMode]
public class FollowToolTip : MonoBehaviour {

    public GameObject followMe;
	// Use this for initialization
	void Start () 
    {
	
	}
	
	// Update is called once per frame
	void Update () 
    {
        Vector3 followPos = Camera.main.WorldToViewportPoint(followMe.transform.position);
        transform.position = followPos;
	}
}
